package day01;

/**
 * @author Jetwang
 * @version 1.0
 * @since 2023/3/19 13:52
 */
public interface BlockingQueue<E> {
    void offer(E e) throws InterruptedException;

    boolean offer(E e, long timeout) throws InterruptedException;

    E poll() throws InterruptedException;
}
